package com.winbomb.simulife.impl.events;

import com.winbomb.simulife.World;
import com.winbomb.simulife.framework.Pixmap;
import com.winbomb.simulife.impl.BaseEvent;

/**
 * 每年总结的事件
 * 
 * @author winbomb
 * 
 */
public class YearSummaryEvent extends BaseEvent {

	public YearSummaryEvent(World world) {
		super(world);
	}

	@Override
	public Pixmap getAnimation() {
		return null;
	}

	@Override
	public String getDescription() {
		return "年终总结";
	}

	@Override
	public boolean isEnable() {
		return world.getYear() > 0 && world.getMonth() == 0;
	}

}
